package com.queet.transaction.core.service.impl;

import com.queet.transaction.core.dao.DemoDao;
import com.queet.transaction.core.domain.Student;
import com.queet.transaction.core.service.DemoService;

/**
 * demo service impl
 * @author Howard
 *
 */
public class DemoServiceImpl implements DemoService {
	private DemoDao demoDao;
	
	
	public String getString(String str) {
		Student student=demoDao.get(1);
		return "这是你想显示的结果aa："+str+","+student.getName();
	}

	public void setDemoDao(DemoDao demoDao) {
		this.demoDao = demoDao;
	}
	
	
}
